package com.redstar.HappyRefresh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.redstar.HappyRefresh.pojo.BasePage;
import com.redstar.HappyRefresh.pojo.Follow;

import java.util.List;

public interface FollowService extends IService<Follow> {
    int getFollowCount(Long userId);

    int getFansCount(Long userId);

    List<Long> getFollowList(BasePage basePage, Long userId);

    List<Long> getFansList(BasePage basePage, Long userId);

    String followUser(Long userId, Long followsUserId);

    Boolean followState(Long followId, Long userId);
}
